package com.example.techstudy.preresearch.Demo2;

import com.example.techstudy.preresearch.Demo1.AbstractBean;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author: ls
 * @date: 2022/4/13
 * @description:
 */
public class Demo {

    public static void main(String[] args) {
        AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);
        AbstractBean concreteBean = ac.getBean("concreteBean", AbstractBean.class);
        System.out.println(1);
    }
}
